package com.champ.mc.innerclass;

public class Parecel1 {
    class Contents {
        private int i=11;
        public int value() {
            return i;
        }
    }

    class Destination {
        private String label;
        Destination(String whereTo) {
            this.label = whereTo;
        }
        String readLabel() {
            return this.label;
        }
    }
    public void ship(String dest) {
        Contents  c = new Contents();
        Destination d =new Destination(dest);
        System.out.println(d.readLabel());
    }

    public static void main(String[] args) {
        Parecel1 p =new Parecel1();
        p.ship("test is");
    }
}
